import Vue from 'vue'

import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';
Vue.use(ElementUI);

import 'nprogress/nprogress.css'

import App from './App.vue'
import router from './router'
//导入全局参数信息
import appglobal from './appglobal.js'
import qs from 'qs'


Vue.config.productionTip = false

//获取浏览器地址栏的参数信息 ,初始化全局参数信息
let parmsobj = qs.parse(window.location.search.replace('?', ''));
appglobal.setconfig(parmsobj);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
